package com.ilvyou.data.lcs;

/**
 * Created by Administrator on 2017/2/13.
 */
public class CollectPsync1Entity {
    private Integer ymdayid;
    private Short synccount;

    public Integer getYmdayid() {
        return ymdayid;
    }

    public void setYmdayid(Integer ymdayid) {
        this.ymdayid = ymdayid;
    }

    public Short getSynccount() {
        return synccount;
    }

    public void setSynccount(Short synccount) {
        this.synccount = synccount;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CollectPsync1Entity that = (CollectPsync1Entity) o;

        if (ymdayid != null ? !ymdayid.equals(that.ymdayid) : that.ymdayid != null) return false;
        if (synccount != null ? !synccount.equals(that.synccount) : that.synccount != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = ymdayid != null ? ymdayid.hashCode() : 0;
        result = 31 * result + (synccount != null ? synccount.hashCode() : 0);
        return result;
    }
}
